home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Direct 1997 April
/
PC Direct CD-ROM (April 1997).iso
/
CSMAIL
/
SCRIPTS.SC$
/
HUNGARY.SCR
< prev
next >
Wrap
Text File
|
1994-05-17
|
1KB
|
57 lines
!
! Copyright (c) 1993
! by CompuServe Incorporated, Columbus, Ohio
!
! The information in this software is subject to change without
! notice and should not be construed as a commitment by CompuServe.
!
! HUNGARY:
! Connect to HungaryNet
! Success: returns %Success
! Failure: saves error msg in %FailureMsg and returns %Failure
!
!+V
! "3.5"
!-V
show "Connecting to Hungary";
Tries = 5;
on cancel goto Return_Cancel;
Wait_HungaryNet:
if Tries = 0 goto HungaryNet_Failure;
Tries = Tries - 1;
wait
"ADI" goto Send_N,
"NUI" goto Send_NUI,
"Host Name:" goto Return_Success,
"User ID:" goto Return_Success,
%mdm_Failure goto HungaryNet_Failure
until 80;
Send_N:
wait until 15;
send "n";
goto Wait_HungaryNet;
Send_NUI:
show "Sending Hungary address...";
wait until 20;
send "172801380COMPUSERVE,R-150111367" & %CR;
goto Wait_HungaryNet;
HungaryNet_Failure:
define %FailureMsg = "Hungary not responding";
exit %Failure;
Return_Cancel:
exit %Cancel;
Return_Success:
send %CR;
wait until 10;
exit %Success;